//
//  AuthViewController.swift
//  weibo
//
//  Created by mac on 16/8/6.
//  Copyright © 2016年 zl. All rights reserved.
//

import UIKit

class AuthViewController: UIViewController {

    private lazy var webView = UIWebView()
    
    
    
    override func loadView() {
        
        view = webView
        
        title = "新浪微博登录"
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "返回", style: .Plain, target: self, action: "backClick")
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "自动登录", style: .Plain, target: self, action: "autoLogin")
        
    }
    
    
    @objc private func backClick () {
        
        dismissViewControllerAnimated(true, completion: nil)
    }
    
    
    @objc private func autoLogin () {
        
        
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

       
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    



}
